export class FlowLineChartsConfig {
  static get config() {
    return {
      legend: {
        itemWidth: 10,
        data: [{
          name: '当前值',
          icon: 'circle',
          textStyle: {
            color: '#89A6FF'
          }
        },
          {
            name: '去年同期值',
            icon: 'circle',
            textStyle: {
              color: '#72CCDF'
            }
          }],
        right: 0,
        bottom: 0
      },
      grid: {
        top: "1%",
        left: '0px',
        right: '10%',
        bottom: '15%',
        containLabel: true
      },
      xAxis: [
        {
          type: 'category',
          axisLabel: {
            color: "#888"
          },
          axisLine: {
            show: false
          },
          axisTick: {
            show: false
          },
          nameTextStyle: {
            color: "#888"
          },
          boundaryGap: false,
        }
      ],
      yAxis: [
        {
          show: false
        }
      ],
      series: [
        {
          name: '当前值',
          type: 'line',
          smooth: true,
          stack: '总量',
          areaStyle: {normal: {}},
          lineStyle: {
            color: "#89A6FF",
            width: 4
          },
          itemStyle: {
            color: "#89A6FF"
          }
        },
        {
          name: '去年同期值',
          type: 'line',
          smooth: true,
          stack: '总量',
          itemStyle: {
            color: "#72CCDF"
          },
          lineStyle: {
            color: "#72CCDF",
            width: 4
          },
          areaStyle: {normal: {}},
          data: [{
            value: 0,
            symbolSize: 0
          }, {
            value: 80,
            symbolSize: 0
          }, {
            value: 100,
            symbolSize: 0
          }, {
            value: 80,
            symbolSize: 12,
            itemStyle: {
              borderColor: '#72CCDF',
              borderWidth: 3
            }
          }, {
            value: 60,
            symbolSize: 0
          }, {
            value: 40,
            symbolSize: 0
          }, {
            value: 70,
            symbolSize: 0
          }]
        }
      ]
    };
  }
}

